package cn.tedu.spring.example;

import org.springframework.stereotype.Component;
/*
Component
 1.注解：将该类标识为Spring Framework的组件
 2.未来框架会为该类创建对象
 */
@Component
public class User {

    public void run(){
        System.out.println("Hello Spring Framework");
    }
}
